package richbar.com.richbar.bean;

import com.common.base.BaseResult;

import java.util.List;

/**
 * Created by QiYang on 2018/12/21.
 */

public class RateResult extends BaseResult {

    /**
     * code : 200
     * msg : 请求成功
     * data : {"list":[{"oid":24,"id":35,"num":1,"price":"456.00","name":"2018冬装新款 女加绒加厚半高领羊毛衫宽松套头毛衣中长款打底衫","img":"/upload/15446049853981.jpeg","seller_id":2,"seller_name":"小食代","comment":0},{"oid":23,"id":34,"num":1,"price":"456.00","name":"2018冬装新款 女韩版文艺纯色连帽长袖短款宽松休闲加厚棉衣","img":"/upload/15446048115328.jpeg","seller_id":2,"seller_name":"小食代","comment":0},{"oid":20,"id":28,"num":1,"price":"500.00","name":"123456","img":"/upload/15435636111316.png","seller_id":2,"seller_name":"小食代","comment":0},{"oid":19,"id":40,"num":1,"price":"641.00","name":"2018冬新款短款羽绒服男休闲立领青年外套情侣潮","img":"/upload/15446059951624.jpeg","seller_id":2,"seller_name":"小食代","comment":0}],"total":5,"totalpage":2,"error":0}
     */

    private String msg;
    private DataEntity data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * list : [{"oid":24,"id":35,"num":1,"price":"456.00","name":"2018冬装新款 女加绒加厚半高领羊毛衫宽松套头毛衣中长款打底衫","img":"/upload/15446049853981.jpeg","seller_id":2,"seller_name":"小食代","comment":0},{"oid":23,"id":34,"num":1,"price":"456.00","name":"2018冬装新款 女韩版文艺纯色连帽长袖短款宽松休闲加厚棉衣","img":"/upload/15446048115328.jpeg","seller_id":2,"seller_name":"小食代","comment":0},{"oid":20,"id":28,"num":1,"price":"500.00","name":"123456","img":"/upload/15435636111316.png","seller_id":2,"seller_name":"小食代","comment":0},{"oid":19,"id":40,"num":1,"price":"641.00","name":"2018冬新款短款羽绒服男休闲立领青年外套情侣潮","img":"/upload/15446059951624.jpeg","seller_id":2,"seller_name":"小食代","comment":0}]
         * total : 5
         * totalpage : 2
         * error : 0
         */

        private int total;
        private int totalpage;
        private int error;
        private List<ListEntity> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotalpage() {
            return totalpage;
        }

        public void setTotalpage(int totalpage) {
            this.totalpage = totalpage;
        }

        public int getError() {
            return error;
        }

        public void setError(int error) {
            this.error = error;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public static class ListEntity {
            /**
             * oid : 24
             * id : 35
             * num : 1
             * price : 456.00
             * name : 2018冬装新款 女加绒加厚半高领羊毛衫宽松套头毛衣中长款打底衫
             * img : /upload/15446049853981.jpeg
             * seller_id : 2
             * seller_name : 小食代
             * comment : 0
             */

            private int oid;
            private int id;
            private int num;
            private String price;
            private String name;
            private String img;
            private int seller_id;
            private String seller_name;
            private int comment;

            public int getOid() {
                return oid;
            }

            public void setOid(int oid) {
                this.oid = oid;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public int getSeller_id() {
                return seller_id;
            }

            public void setSeller_id(int seller_id) {
                this.seller_id = seller_id;
            }

            public String getSeller_name() {
                return seller_name;
            }

            public void setSeller_name(String seller_name) {
                this.seller_name = seller_name;
            }

            public int getComment() {
                return comment;
            }

            public void setComment(int comment) {
                this.comment = comment;
            }
        }
    }
}
